from django import forms

class PubInformationForm(forms.Form):
    title = forms.CharField(label="标题", max_length=200, min_length=2)
    content = forms.CharField(label="内容", min_length=2)
    data_source = forms.CharField(label="数据源", min_length=2)
    author_name = forms.CharField(label="作者", max_length=200, min_length=2)
    category = forms.IntegerField(label="分类")